🔲 .OVERLAY
Mit Overlays können modale Nachrichten und interaktive Schaltflächen dargestellt werden.
.text('text')
Zeigt den Text in einem Overlay an.
RAGAI.OVERLAY.text('Ich bin ein Text');
.button(buttonConfig[])
Zeigt ein Overlay mit interaktiven Schaltflächen an.
RAGAI.OVERLAY.button(
[
{text:'ja',className:'btn btn-primary',onClick:function(){}},
{text:'nein',className:'btn btn-primary',onClick:function(){}},
]
);
.textAndButton('text', buttonConfig[])
Zeigt ein Overlay mit Text und interaktiven Schaltflächen an.
RAGAI.OVERLAY.textAndButton('text',
[
{text:'ja',className:'btn btn-primary',onClick:function(){}},
{text:'nein',className:'btn btn-primary',onClick:function(){}},
]
);
.html('html')
Zeigt ein Overlay mit interpretierten HTML an.
RAGAI.OVERLAY.html('<h1>HTML Overlay</h1>');